package com.example.rpclient.api;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.rpclient.dto.RuleAddCmd;
import com.example.rpclient.dto.RuleUpdateCmd;
import com.example.rpclient.dto.data.RuleVo;
import com.example.rpclient.dto.query.RuleListByParamQuery;


public interface IRuleService {

    RuleVo add(RuleAddCmd cmd);

    RuleVo update(RuleUpdateCmd cmd);

    RuleVo one(Long id);

    IPage<RuleVo> page(RuleListByParamQuery query);

}
